# ------------ PICBASIC PRO configuration -----------
# --- general --------------------------------------
# $P  - project name
# $Pp - path to project directory
# $Pn - project name
# --- compile --------------------------------------
# $I  - input full name
# $Ip - input path
# $In - input name
# $Ie - input extension
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for compiler
# --- build ----------------------------------------
# $T  - target full name
# $Tp - target path
# $Tn - target name
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for linker

[Settings]
Target = 
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =
Category&02 = COMPILER OPTIONS
BuildMode = CompileOnly|Compile_Program
Processor = 18F4620|12F629|12F675|16C84|16F627|16F84A|16F84|16F877A|16F877
UseLongs = no|yes
SourceLevelDebug = no|yes
ShowProgress = yes|no
AutoClose = no|yes
Verbose = no|yes

[SettingsInfo]
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Working Directory = Provides a space for you to specify the directory in which executing occurs. If you do not specify a directory, executing occurs in the directory where the executable is located.
Command Line Arguments = Provides a space for you to specify command-line arguments you want to pass to the program at startup.
BuildMode = Select "CompileOnly" to compile the PBP source file; Select "Compile_Program" to compile the PBP source file AND launch the PIC Programmer.
Processor = Select the type of PIC MCU target device.
UseLongs = Select "no" to compile with PBPW; Select "yes" to compile with PBPL (PIC18 Only).
SourceLevelDebug = Select "no" to disable source-level debug code in COFF file; Select "yes" to enable source-level debug code in COFF file.
ShowProgress = Select "yes" to to enable MPASMWIN Progress Window; Select "no" to disable MPASMWIN Progress Window.
AutoClose = Select "yes" to automatically close the MPASMWIN Progress Window.
Verbose = Select "no" for standard messages; Select "yes" for detailed messages.

[SettingsReps]
BuildMode=CompileOnly= |Compile_Program=$(ProgPath)meprog.exe -S -DPIC$(Processor) "$Pp$R\$On$Oe"
UseLongs=no= |yes=-n
SourceLevelDebug=no=-k-|yes=-k#
ShowProgress=yes= |no=-oq
AutoClose=no= |yes=-os
Verbose=no= |yes=-v

[Variables]
CPATH =C:\Program Files\PBP3
ProgPath = C:\melabs programmer\

[General]
TargetExt = .HEX
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 1
UseDosNames = 0
Excludes = $(Excluded Files)
BuildOnly = 1

[MakeCommands]
run = Execute Application
debug=Start Debugger
makef=Show Makefile

[Execute Application]
Title = Execute $T
Cmd0 = 
Depends = $T
ShowWindow = 1
DisplayConsole = 1

[FileGroups]
FGB = .pbp;

[Build]
Out = $T
Depends = $FGB
ReleaseFlag = Release
DebugFlag = Debug
Cmd0 = $(CPath)\PBPX $(Verbose) $(UseLongs) -p$(Processor) -aMPASMWIN $(SourceLevelDebug) $(ShowProgress) $(AutoClose) $FGB
Cmd1 = ""
Cmd2 = $(BuildMode)

[Start Debugger]
Title=Debug $T
Cmd0=$(Debugger) $T
Depends=$T
ShowWindow=1
[Show Makefile]
Title=Show makefile
Cmd0=uestudio $(UESMAKEFILE)
ShowWindow=1
DisplayConsole=0
